/**
 * https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect
 */

import axios from 'axios'
var wechatConfig = require('../../wechatConfig')
var redirectUri = 'http://damontest.free.ngrok.cc/index.html'
var url = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' + wechatConfig.appID + '&redirect_uri=' + redirectUri + '&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'

axios.get(url)
